package com.xinziruo.crawl.infrastruture.messaging.event;

import com.xinziruo.crawl.domain.crawl.CrawlApiObject;
import com.xinziruo.crawl.domain.crawl.api.CrawlEvent;

/**
 * 
 * @author loudyn
 * 
 */
public class CrawlEventImpl implements CrawlEvent {

	private static final long serialVersionUID = 1L;
	private final CrawlApiObject api;

	public CrawlEventImpl(final CrawlApiObject api) {
		this.api = api;
	}

	@Override
	public Object getMessage() {
		return this.api;
	}

}
